<?php
   include "./core/mysql.php";
   session_start();
   $arr = $_SESSION['name'];
   $sql="SELECT * FROM tbl_user WHERE `name`='$arr'";
   $res = fetchAll($sql);
?>